



//
//  ZPadViewController.m
//  ZQLearn
//
//  Created by macfeel on 2019/5/4.
//  Copyright © 2019 macfeel. All rights reserved.
//

#import "ZPadViewController.h"
#import "ImageShowScroll.h"
@interface ZPadViewController ()
@property (nonatomic ,strong) ImageShowScroll *bgImgScroll;
@end

@implementation ZPadViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.navigationItem setItemWithTitle:@"平板信息" textColor:kNavigationTitleColor fontSize:18 itemType:center];
    [self showNoDataImageView:@"none" withTitle:@"暂无数据哦"];
    // Do any additional setup after loading the view from its nib.
}

- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    if (!self.bgImgScroll) {
        UIImageView *image = [[UIImageView alloc] init];
        image.image = WDImgName(@"padd");
        self.bgImgScroll=[[ImageShowScroll alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight-64) image:image.image];
        [self.view addSubview:self.bgImgScroll];
    }
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
